package com.whmskj.xjlhsc.service;

import com.whmskj.xjlhsc.mobie.Scheduling.entity.yg01EmployeeFiles;

import java.util.List;

public interface AttendanceNamingService {
    List<String> listDepartmentNames();
    List<String> listJobTypeNames();
    List<String> listPositionNames();
    List<String> listGroupNames();

    String detectCurrentShift();

    List<yg01EmployeeFiles> filterEmployees(String department, String jobType, String position, String group);
    
    /**
     * 验证登录
     */
    boolean validateLogin(String username, String password);
    
    /**
     * 获取当前登录人的考勤人信息
     */
    String getCurrentAttendant(String username);
    
    /**
     * 获取无权限的员工列表
     */
    List<yg01EmployeeFiles> getUnauthorizedEmployees(List<Integer> employeeIds, String currentAttendant);
    
    /**
     * 确认考勤并插入数据到pro_personnel_stand_confirm表
     */
    boolean confirmAttendanceAndInsert(List<Integer> employeeIds, String currentAttendant);

    // 分页查询考勤记录
    com.baomidou.mybatisplus.extension.plugins.pagination.Page<java.util.Map<String, Object>> pageRecords(
            com.whmskj.xjlhsc.service.dto.ConfirmQuery query);

    // 获取被当前登录人审核的员工列表
    java.util.List<com.whmskj.xjlhsc.mobie.Scheduling.entity.yg01EmployeeFiles> listEmployeesAuditedByCurrent();
}


